<%@page import="boardBean.BoardDTO"%>
<%@page import="boardBean.BoardVo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src='./js/board.js'></script>
<link rel='stylesheet'href='./css/board.css'>
</head>
<body>
<h1>게시판 입력 결과</h1>


<%
BoardVo vo = new BoardVo(request);
BoardDTO dto = new BoardDTO();
dto.setVo(vo);
boolean flag =dto.insert();
if(flag){
	%>	
<li>아이디 <%=vo.getMid() %>
<li>암   호 <%=vo.getPwd() %>
<li>제   목<%=vo.getSubject()%>
<li>사   진<%=vo.getPhoto() %>
<%
}else{
%>	<h4>에러</h4>
<% 
}
%>
<p/>
<input type="button" value='목록으로' id='btnList'/>

<script>inputInit();</script>
<form name='hiddenFrm' method="post">
	<input type="hidden" name='nowPage' value='<%=vo.getNowPage() %>'>
	<input type="hidden" name='find' value='<%=vo.getFind() %>'>	
</form>
</body>
</html>